home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000213_fdc@columbia.edu_Sun Aug 10 13:44:19 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
53 lines
Article: 14450 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Is this possible
Date: 10 Aug 2003 13:43:49 -0400
Organization: Columbia University
Lines: 36
Message-ID: <bh608l$elb$1@watsol.cc.columbia.edu>
References: <n%tZa.5215$M6.381283@newsread1.prod.itd.earthlink.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1060537430 29209 128.59.39.139 (10 Aug 2003 17:43:50 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 10 Aug 2003 17:43:50 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14450
In article <n%tZa.5215$M6.381283@newsread1.prod.itd.earthlink.net>,
nospam <bruceradtke@REMOVEspamREMOVE.earthlink.net> wrote:
: My question is whether kermit scripts could handle the following scenario.
: I've done a few simple scripts but this would entail dialing up into a
: network, connecting with one user/password for Unix network, and then
: ftp'ing to a Windows machine as another user/password.
:
: My end user is a retail store, "the client", and is running SCO Unix. It
: uses a kermit script to dialup into a "private" network ( ie: the corporate
: network) at the end of the day. It connects to the corporate network with
: its corporate userid & password.
:
: Upon connection, it then ftps a file to an NT./XP Windows box hanging off
: of the network. The ftp connection on the Windows box will be a different
: userid & password then the Unix login. ( I'm developing software for this
: NT machine to process this end of the day file from the retail client.)
:
: 1) Can I script connection with 1 login userid & then FTP to a machine as
: another userid?
:
You've already scripted the login to the first machine. At this point you
the script can automate starting the FTP client on Unix, making the connection
to NT, and transferrring files. As far as the Kermit script is concerned,
it's just text -- INPUT this, OUTPUT that.
: 2) The other wrinkle is that the client does not have a 'proper' IP
: address. Most likely it will be 192.168.1.1 - the IP address handed to the
: machine from the router. Will this at all prevent the machine from doing
: an FTP to the Windows box? I would think it would need a valid IP address
: to do an FTP session.
:
If you can do it by hand, you can script it. See:
http://www.columbia.edu/kermit/ckscripts.html#tut
- Frank